package com.example.czxyschool;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableEurekaClient
//@CommponetScan默认扫主类的包及以下，如果指定了包，那么所有调用都会从该包去找
@MapperScan("com.example.czxyschool.mapper")
public class CzxySchoolApplication {

    public static void main(String[] args) {
        SpringApplication.run(CzxySchoolApplication.class, args);
    }

}
